package com.xhc.demo.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderRequest {
    private Long addressId;
    private String token;
    private BigDecimal totalAmount;
    private OrderInfo orderInfo;
    private List<PhotoInfo> photos;

    @Data
    public static class OrderInfo {
        private Integer totalPhotos;
        private Long createTime;
    }

    @Data
    public static class PhotoInfo {
        private BigDecimal amount;
        private String resolution;
        private String size;
        private String material;
        private String nfc_qrcode;
        private String image_url;
    }
}
